# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: dev-util/beediff/beediff-1.3.ebuild,v 1.1 2008/07/03 11:40:00 aballier Exp $

inherit eutils qt4

DESCRIPTION="BeeDiff (beediff) is a graphical file comparator."
HOMEPAGE="http://www.beesoft.pl/index.php?id=beediff"
SRC_URI="http://www.beesoft.pl/download/${PN}_${PV}_src.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="|| ( x11-libs/qt-gui:4 >=x11-libs/qt-4.3:4 )"
RDEPEND="${DEPEND}"

MY_P=${PN}
S=${WORKDIR}/${MY_P}

src_compile() {
	eqmake4 ${PN}.pro -o Makefile
	emake || die "emake failed"
}

src_install() {
	#emake DESTDIR="${D}" install || die "emake install failed"
	#prepalldocs

        dobin beediff
        dodoc licence.txt
        
        insinto /usr/share/pixmaps
        doins img/beediff.png
}
